package com.jd.jobkeeper.server.service;

import com.jd.jobkeeper.server.data.entity.JobInfo;

import java.util.List;

public interface JobInfoService {

    List<JobInfo> findAllByServerId(String serverId);
    List<JobInfo> findAllByNamespace(String namespaceCode);

    JobInfo getByJobId(Long id);

    void update(JobInfo jobInfo);

    JobInfo add(JobInfo jobInfo);
}
